// eslint-disable-next-line vue/no-duplicate-attributes
// eslint-disable-next-line vue/no-duplicate-attributes

const getters = {
  sidebar: (state) => state.app.sidebar,
  device: (state) => state.app.device,
  token: (state) => state.user.token,
  avatar: (state) => state.user.avatar,
  name: (state) => state.user.name,
  whetherItIsAdmin: (state) => state.user.userInfo.whetherItIsAdmin
  // avatar: (state) => state.user.userInfo.staffPhoto,
  // name: (state) => state.user.userInfo.username // 用户名称
}
export default getters
